home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
nvnqwk01.zip
/
PREONL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-31
|
3KB
|
99 lines
@echo off
REM
REM 1% = QWK Packet name
REM 2% = QWK Path
REM 3% = REP Path
REM 4% = WORK Path
REM 5% = QWK archive level
REM 6% = REP archive level
echo .
echo ... Executing PREONL.BAT
echo .
rem
if NOT exist %3%1.REP goto A10
rem
PKUNZIP %3%1.REP %4 *.msg
rem
if NOT %6.==9. goto A1
if exist %2%1.RE8 copy %2%1.RE8 %2%1.RE9
if exist %2%1.RE7 copy %2%1.RE7 %2%1.RE8
if exist %2%1.RE6 copy %2%1.RE6 %2%1.RE7
if exist %2%1.RE5 copy %2%1.RE5 %2%1.RE6
if exist %2%1.RE4 copy %2%1.RE4 %2%1.RE5
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A1
if NOT %6.==8. goto A2
if exist %2%1.RE7 copy %2%1.RE7 %2%1.RE8
if exist %2%1.RE6 copy %2%1.RE6 %2%1.RE7
if exist %2%1.RE5 copy %2%1.RE5 %2%1.RE6
if exist %2%1.RE4 copy %2%1.RE4 %2%1.RE5
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A2
if NOT %6.==7. goto A3
if exist %2%1.RE6 copy %2%1.RE6 %2%1.RE7
if exist %2%1.RE5 copy %2%1.RE5 %2%1.RE6
if exist %2%1.RE4 copy %2%1.RE4 %2%1.RE5
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A3
if NOT %6.==6. goto A4
if exist %2%1.RE5 copy %2%1.RE5 %2%1.RE6
if exist %2%1.RE4 copy %2%1.RE4 %2%1.RE5
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A4
if NOT %6.==5. goto A5
if exist %2%1.RE4 copy %2%1.RE4 %2%1.RE5
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A5
if NOT %6.==4. goto A6
if exist %2%1.RE3 copy %2%1.RE3 %2%1.RE4
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A6
if NOT %6.==3. goto A7
if exist %2%1.RE2 copy %2%1.RE2 %2%1.RE3
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A7
if NOT %6.==2. goto A8
if exist %2%1.RE1 copy %2%1.RE1 %2%1.RE2
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A8
if NOT %6.==1. goto A10
if exist %2%1.REP copy %2%1.REP %2%1.RE1
if exist %2%1.REP erase %2%1.REP
goto A10
:A10